﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Adi_Game
{
    class background
    {
        public Texture2D backgrnd;
        public Rectangle backRect;

        public background(Texture2D tex, Rectangle rect)
        {
            backgrnd = tex;
            backRect = rect;
        }

        public void Draw(SpriteBatch sprite)
        {
            sprite.Draw(backgrnd, backRect, Color.White);
        }
    }
}
